<thead>
	<tr> 
		<?php echo $this->partial('index/manage/no-save-order.phtml', 'admin', array($this->url(array('action'=>'save-order')))); ?>
		<th > <?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_code')); ?> </th>
		<th> <?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_note')); ?> </th>		
		<th> <?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_create_time')); ?> </th>
		<th> <?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_create_user')); ?> </th>
		<th> <?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>$this->captions,'column'=>'inbound_warehouse_code')); ?> </th>
		<th> <?php echo $this->partial('index/manage/header.phtml','admin',array('caption'=>"Đơn vị ".$this->string_inbound_type_2." hàng",'column'=>'company_name')); ?></th>
		<th width='120px'> Quản lý </th>
	</tr>
</thead>
<tbody>
	<?php if (count($this->paginator) > 0): $no=0;?>
	<?php foreach ($this->paginator as $row): ?>
	<tr class='row<?php echo ($no++)%2 ?>'> 
		<?php echo $this->partial('index/manage/order.phtml', 'admin', array($no)) ?>
		<td class="is_code"><?php echo $row->inbound_code ?></td>
		<td class='left'><?php echo $row->inbound_note; ?></td>
		<td class='center'><?php echo $this->partial('index/format/time.phtml','admin',array($row->inbound_create_time)); ?></td>
		<td class='left'><?php echo $row->inbound_create_user." - ".$row->m_Array['account_fullname']; ?></td>
		<td class='left'><?php echo $row->inbound_warehouse_code." - ".$row->m_Array['warehouse_name']; ?></td>
		<td class='left'><?php echo $row->m_Array['company_name']; ?></td>
		<td class='center'><?php //echo $this->partial('index/manage/edit.phtml','admin', array($this->url(array('module'=>'inbound','controller'=>'index','action' => 'update','id'=>$row->inbound_id),null,true))); ?><?php echo $this->partial('index/manage/icon.phtml','admin', array('href'=>$this->url(array('module'=>'inbound','controller'=>'index','action' => 'print','id'=>$row->inbound_id),null,true),'title'=>'In phiếu','class'=>'icon-16-print')); ?> <?php echo $this->partial('index/manage/icon.phtml','admin', array('href'=>$this->url(array('module'=>'inbound','controller'=>'index','action' => 'copy','id'=>$row->inbound_id),null,true),'title'=>"Copy phiếu mới từ phiếu {$row->inbound_code}",'class'=>'icon-16-copy')); ?><?php echo $this->partial('index/manage/detail.phtml','admin', array($this->url(array('module'=>'inbound','controller'=>'index','action' => 'detail','id'=>$row->inbound_id),null,true))); ?></td>
	</tr>
	<?php endforeach; ?>
	<?php endif;?>
</tbody>
